package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "AlarmVO", description = "告警")
public class AlarmVO {

    @ApiModelProperty(value = "id主键")
    private Long id;

    @ApiModelProperty(value = "告警状态(0-未处理 1-处理中 2-已完成)")
    private Integer alarmStatus;

    @ApiModelProperty(value = "站点id")
    private Long stationId;

    @ApiModelProperty(value = "站点名称")
    private String stationName;

    @ApiModelProperty(value = "告警类型(对应字典表id)")
    private Long alarmType;

    @ApiModelProperty(value = "告警类型名称")
    private String alarmTypeName;

    @ApiModelProperty(value = "告警信息")
    private String alarmInfo;

    @ApiModelProperty(value = "告警级别(1-黄色告警 2-红色告警)")
    private Integer alarmLevel;

    @ApiModelProperty(value = "告警开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "告警结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "责任人名字")
    private String dutyUserNames;

    @ApiModelProperty(value = "责任人主键ID")
    private String dutyUserIds;
}